﻿using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DevBox
{
    public static class LogExtensions
    {
        public static ILoggingBuilder AddDevBoxLogger(this ILoggingBuilder logging)
        {
            logging.Services.TryAddSingleton<ILoggerProvider, DevBoxLoggerProvider>();
            return logging;
        }
    }
}
